package com.lovo.sercive.impl;

import com.lovo.bean.ChannelBean;
import com.lovo.dao.IChannelDao;
import com.lovo.sercive.IChannelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ChannelServiceImpl implements IChannelService {
    @Autowired
    private IChannelDao dao;

    @Override
    public List<ChannelBean> findAllChannel() {
        return dao.findAllChannel();
    }
}
